import 'package:fish_redux/fish_redux.dart';
import 'package:flutter/cupertino.dart';
import 'package:www.znpigai.teacher/home_page/subject_tab_component/adapter/adapter.dart';

import 'effect.dart';
import 'reducer.dart';
import 'state.dart';
import 'view.dart';

class SubjectListComponent extends Component<SubjectListState> {
  SubjectListComponent()
      : super(
          key: (_) => UniqueKey(),
          effect: buildEffect(),
          reducer: buildReducer(),
          view: buildView,
          dependencies: Dependencies<SubjectListState>(
              adapter: NoneConn<SubjectListState>() + SubjectAdapter(),
              slots: <String, Dependent<SubjectListState>>{}),
        );
}
